<template>
  <el-radio-group :disabled="config.disabled" v-model="form[config.key]">
    <template v-if="!!config.isButton">
      <el-radio-button :id="config.key" v-for="item in config.checkList" :key="item.value" :label="item.value">{{
        item.label
      }}</el-radio-button>
    </template>
    <template v-else>
      <el-radio :id="config.key" v-for="item in config.checkList" :key="item.value" :label="item.value">{{ item.label
      }}</el-radio>
    </template>
  </el-radio-group>
</template>

<script>
import mixin from '@/assembly/mixin.js'
export default {
  mixins: [mixin],
  data() {
    return {

    }
  },
  computed: {},
  created() {

  },
  methods: {
  },
}
</script>

<style scoped lang="scss"></style>